package com.zmj.mobile.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 研发试制/采购申请表
 * </p>
 *
 * @author lzy
 * @since 2024-02-01
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class TechPurMainBaseDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "申请编号")
    @ExcelProperty(value = "申请编号")
    private String applyCode;

    @ApiModelProperty(value = "申请人编码")
    @ExcelProperty(value = "申请人编码")
    private String applyerCode;

    @ApiModelProperty(value = "申请人名称")
    @ExcelProperty(value = "申请人名称")
    private String applyerName;

    @ApiModelProperty(value = "公司编码")
    @ExcelProperty(value = "公司编码")
    private String companyCode;

    @ApiModelProperty(value = "公司名称")
    @ExcelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "项目编码")
    @ExcelProperty(value = "项目编码")
    private String projectCode;

    @ApiModelProperty(value = "项目名称")
    @ExcelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目负责人编码")
    @ExcelProperty(value = "项目负责人编码")
    private String projecterCode;

    @ApiModelProperty(value = "项目负责人名称")
    @ExcelProperty(value = "项目负责人名称")
    private String projecterName;

    @ApiModelProperty(value = "申请类型")
    @ExcelProperty(value = "申请类型")
    private String applyType;

    @ApiModelProperty(value = "是否电控研发部PCB试制")
    @ExcelProperty(value = "是否电控研发部PCB试制")
    private String pcbFlag;

    @ApiModelProperty(value = "申请事由")
    @ExcelProperty(value = "申请事由")
    private String applyReason;

    @ApiModelProperty(value = "产品去向")
    @ExcelProperty(value = "产品去向")
    private String productDest;

    @ApiModelProperty(value = "附件")
    @ExcelProperty(value = "附件")
    private String attachment;

    @ApiModelProperty(value = "附件路径")
    @ExcelProperty(value = "附件路径")
    private String attachmentPath;

    @ApiModelProperty(value = "需求日期")
    @ExcelProperty(value = "需求日期")
    private LocalDate demandDate;

    @ApiModelProperty(value = "总施工号")
    @ExcelProperty(value = "总施工号")
    private String constructNo;

    @ApiModelProperty(value = "总物料号")
    @ExcelProperty(value = "总物料号")
    private String materialCode;

    @ApiModelProperty(value = "状态")
    @ExcelProperty(value = "状态")
    private String dataStatus;

    @ApiModelProperty(value = "审批流id")
    @ExcelProperty(value = "审批流id")
    private String flowId;


    @ApiModelProperty(value = "创建人")
    @ExcelProperty(value = "创建人名称")
    private String createUserName;

    @ApiModelProperty(value = "创建人")
    @ExcelProperty(value = "创建人编码")
    private String createUser;

    @ApiModelProperty(value = "部门编码")
    @ExcelProperty(value = "部门编码")
    private String departCode;

    @ApiModelProperty(value = "部门名称")
    @ExcelProperty(value = "部门名称")
    private String departName;
}
